#ifndef __DEBUG_
#define __DEBUG_
#include "stdint.h"
#include "stdio.h"

#define USE_FULL_ASSERT

#ifdef USE_FULL_ASSERT
void assert_printf(const char *file, uint32_t line,char* func);
#define ASSERT(expr) \
do\
{\
	if(expr)\
	NULL;\
	else\
	assert_printf(__FILE__, __LINE__,(char*)__func__);\
}while(0)
#else
#define ASSERT(expr) NULL
#endif

#endif
